function getPostData(ele)
{
	var data = {};
	var data_info = $('.' + ele).serialize().replace(/\+/g,' ').split('&');
	for(var i=0;i<data_info.length;i++)
	{
		var data_val = data_info[i].split('=');
		
		if(typeof(data[dx.util.utf8_decode(data_val[0])])!='undefined')
		{
			var arr=[];
			if(data[dx.util.utf8_decode(data_val[0])] instanceof Array)
			{
				arr=data[dx.util.utf8_decode(data_val[0])];
		  	}
			else
		  	{
			    arr.push(data[dx.util.utf8_decode(data_val[0])]);
		  	}
		  	arr.push(dx.util.utf8_decode(data_val[1]));
			data[dx.util.utf8_decode(data_val[0])]=arr;
		}
		else
		{
			data[dx.util.utf8_decode(data_val[0])]=dx.util.utf8_decode(data_val[1]);
		}
	}
	return data;
}

var dx = {}
dx.util = {
	utf8_decode: function(utftext) {
		utftext = unescape(utftext);
		var string = "";
		var i = 0;
		var c = c1 = c2 = 0;

		while (i < utftext.length) {

			c = utftext.charCodeAt(i);

			if (c < 128) {
				string += String.fromCharCode(c);
				i++;
			} else if ((c > 191) && (c < 224)) {
				c2 = utftext.charCodeAt(i + 1);
				string += String.fromCharCode(((c & 31) << 6) | (c2 & 63));
				i += 2;
			} else {
				c2 = utftext.charCodeAt(i + 1);
				c3 = utftext.charCodeAt(i + 2);
				string += String.fromCharCode(((c & 15) << 12) | ((c2 & 63) << 6) | (c3 & 63));
				i += 3;
			}

		}

		return string;
	},
	arrayToJson:function(o) {
		var r = [];
		if (typeof o == "string") return "\"" + o.replace(/([\'\"\\])/g, "\\$1").replace(/(\n)/g, "\\n").replace(/(\r)/g, "\\r").replace(/(\t)/g, "\\t") + "\"";
		if (typeof o == "object") {
			if (!o.sort) {
				for (var i in o)
					r.push(i + ":" + arrayToJson(o[i]));
				if (!!document.all && !/^\n?function\s*toString\(\)\s*\{\n?\s*\[native code\]\n?\s*\}\n?\s*$/.test(o.toString)) {
					r.push("toString:" + o.toString.toString());
				}
				r = "{" + r.join() + "}";
			} else {
				for (var i = 0; i < o.length; i++) {
					r.push(hungry.util.arrayToJson(o[i]));
				}
				r = "[" + r.join() + "]";
			}
			return r;
		}
		return o.toString();
	},
	_get: function(name) {
		var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i");
		var r = window.location.search.substr(1).match(reg);
		if (r != null) return unescape(r[2]);
		return null;
	}
}